package com.pachong.service;

import com.common.core.utils.Checkbox;
import com.domain.bean.sys.SysUser;
import com.pachong.common.BaseService;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author : wangyu
 * Date: 2018-01-26
 * Time: 15:47
 */
public interface SysUserService extends BaseService<SysUser,String> {
    //用户信息登录
    SysUser login(String username);

    boolean checkUser(String userName);

    List<Checkbox> getUserRoleByJson(String id);

    void rePass(String userId,String newPassWord);
}
